package cn.eoeit.mmy.service;

import java.util.HashMap;
import java.util.List;

import org.springframework.ui.ModelMap;

import cn.eoeit.mmy.bean.Pagination;
import cn.eoeit.mmy.model.DesignInfo;
import cn.eoeit.mmy.model.GongXuModel;
import cn.eoeit.mmy.model.LinJianFactory;
import cn.eoeit.mmy.model.LinJianKeyInfo;
import cn.eoeit.mmy.model.LingJianGongXuModel;
import cn.eoeit.mmy.model.LingJianModel;
import cn.eoeit.mmy.model.LinjianSellInfo;

public interface IlingJianService {
	LingJianModel finishAddLingJian(LingJianModel user);

	LingJianModel findLingJian(Integer uid);
	
	void findLingJianInfo(Integer uid,ModelMap modelMap);
	
	public Pagination<HashMap<String,Object>> selectAllLingJians(int page, int rows) ;

	LingJianModel finishDeleteLingJian(Integer uid);

	LingJianModel finishUpdateLingJian(LingJianModel user);
	
	
	
	
	GongXuModel finishAddGongXu(GongXuModel user);

	GongXuModel findGongXuModel(Integer uid);
	
	List<GongXuModel> getGongXuModels();
	
	public Pagination<HashMap<String,Object>> selectAllGongXuModels(int page, int rows) ;

	GongXuModel finishDeleteGongXuModel(Integer uid);

	GongXuModel finishUpdateGongXuModel(GongXuModel user);

	LingJianModel finishLingJianByBianHao(String bianHao);
	
	

	LingJianGongXuModel finishAddLingJianGongXu(LingJianGongXuModel user);
	
	LingJianGongXuModel findLingJianGongXu(Integer uid);
	

	LinJianFactory finishAddCaigouInfo(LinJianFactory user);

	DesignInfo finishAddDesignInfo(DesignInfo user);

	LinjianSellInfo finishAddSellInfo(LinjianSellInfo user);
	

	LinJianKeyInfo finishAddLingJianKeyInfo(LinJianKeyInfo user);

	Pagination<HashMap<String, Object>> selectAllKeyInfos(Integer page, int i);
}
